package com.hanhai.zrb.api.biz.dao.mybatis;

import java.util.List;

import com.hanhai.zrb.api.biz.dao.mybatis.base.BaseMapper;
import com.hanhai.zrb.model.user.UserBlacklist;

public interface UserBlacklistDao extends BaseMapper {

	void add(UserBlacklist blacklist);

	void update(UserBlacklist blacklist);

	void delete(Long id);

	UserBlacklist get(Long id);

	UserBlacklist getByUserId(Long userId);

	List<UserBlacklist> listAllNotExpired();

	List<UserBlacklist> list();

	List<Long> listAllUserId();
}
